package com.whosly.disclosure.early.handler;

import com.whosly.disclosure.early.handler.spi.ErrorHandler;

/**
 * @author fengyang <deep_blue_yang@126.com>
 * @date 2020-10-09  13:45
 * @title: IgnoreErrorHandler
 */
public class IgnoreErrorHandler implements ErrorHandler {

    @Override
    public void handleException(final String jobName, final Throwable cause) {
        //.

        // just for test
        // System.out.println("ignore");
    }

    @Override
    public void handleMsg(String name, String message) {

    }

    @Override
    public String getType() {
        return "IGNORE";
    }
}
